<script>
	export default {
		onLaunch() {
			
						
			//获取地区信息
			this.$api.getAreaList({}, res => {
				if (res.code==200) {
					this.$db.set('areaList', res.data)
				}
			});
			// uni.showShareMenu({
			// 	withShareTicket: true,
			// 	menus: ['shareAppMessage', 'shareTimeline']
			// });
			uni.getSystemInfo({
				success: e => {
					// 成功获取设备信息
					var btnInfo = uni.getMenuButtonBoundingClientRect()
					this.globalData.sysInfo = {
						safeArea: e.safeArea,
						height: e.screenHeight,
						width: e.screenWidth,
						menubar: btnInfo,
						statusHeight:e.statusBarHeight,
						OS: e.system,
						safeAreaInsets:e.safeAreaInsets
					}
				}
			});
		},
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	@import '@/static/css/common.css';
	@import '@/static/css/main.css';
	// @import "uview-ui/index.scss";
	/*每个页面公共css */
	@import './static/css/style.css';
</style>